#ifndef _HAL_TIMER_H_
#define _HAL_TIMER_H_

/*******************************************************************
 *
 * Copyright (C), 2020-2020, Welland, All rights reserved.
 *
 * Author      : Fengze Luo
 * Create Time : 2020-02-13
 * Version     : v0.1
 * Description : 
 *******************************************************************/
 
/*----------------------------Head file----------------------------*/
#include "stdint.h"
#include "stdbool.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/
typedef void (*hal_timer_cb)(void);

/*----------------------------var define---------------------------*/

/*-------------------------func declaration------------------------*/
extern void hal_timer_init(hal_timer_cb cb);
extern void hal_timer_start(void);
extern void hal_timer_stop(void);

/*-----------------------------------------------------------------*/

#endif
